import request from '@/utils/request'

export const login = data => {
  return request.post('/user-service/user/login', data)
}

export const getUserInfoApi = () => {
  return request.get('/sys/profile')
}
